{% extends '../common/layout.html' %} {% block content %}
<div class="content">
  <form id="form-detail" class="form-detail">
    <div id="block-basic-information" class="panel dn">
      <div class="panel-heading">
        <div class="panel-title">基本业务信息 Basic Activity Information</div>
      </div>
      <div class="panel-body">
        <table class="table mb0">
          <tbody>
            <tr>
              <th class="tar " width="200">
                <span class="required-tip">*</span> 业务实体
                <h5> Legal Entity</h5>
              </th>
              <td id="field-detail-legalEntity" class="input-mw"></td>
            </tr>
            <tr>
              <th class="tar ">
                <span class="required-tip">*</span> 您的部门
                <h5>Department</h5>
              </th>
              <td id="field-detail-department" class="input-mw"></td>
            </tr>
            <tr>
              <th class="tar ">
                是否是会议？
                <h5>Is Meeting？</h5>
              </th>
              <td id="field-detail-isMeeting" ></td>
            </tr>
            <tr>
              <th class="tar ">
                <span class="required-tip">*</span> 业务名称简述
                <h5>Activity Name Description</h5>
              </th>
              <td id="field-detail-activityNameDescription" class="input-mw"></td>
            </tr>
            <tr>
              <th class="tar ">
                合同总金额
                <h5>Total Contract Amount</h5>
              </th>
              <td id="field-detail-totalContractAmount" class="input-mw"></td>
            </tr>
            <tr>
              <th class="tar ">
                e-CIR 项目编号
                <h5>Project No. in e-CIR</h5>
              </th>
              <td id="field-detail-projectNumber" class="input-mw"></td>
            </tr>
            <tr>
              <th class="tar ">
                <span class="required-tip">*</span> 预计的业务开展期间
                <h5>Activity Date or Period</h5>
              </th>
              <td id="field-detail-activityDate" ></td>
            </tr>
            <tr>
              <th class="tar ">
                <span class="required-tip">*</span> 成本中心及对应金额
                <h5>Cost Center and Amount</h5>
              </th>
              <td id="field-detail-costCenterAndAmountList" class="npd ">
                <table class="table mb0">
                  <tbody>
                  </tbody>
                </table>
                {% raw %}
                <script id="template-costCenterAndAmountList-item" type="text/template7">
                  <tr data>
                    <td class="nbd " width="45%"></td>
                    <td class="nbd "></td>
                    <td class="nbd " width="60">
                      <button class="btn btn-default common-form-btn" type="button" delete>删除</button>
                    </td>
                  </tr>
                </script>
                {% endraw %}
              </td>
            </tr>
            <tr>
              <th class="tar ">
                是否要创建PO?
                <br> Create PO ？
              </th>
              <td id="field-detail-createPo" ></td>
            </tr>
            <tr>
              <th class="tar ">
                提示信息
                <h5>Remainer</h5>
              </th>
              <td>
                如果合同方需要完成标准尽职调查流程，请确保礼来标准的反腐败合规约定（“反腐约定”）作为附件包括在合同中。
                <br>Please ensure Lilly Standard Anti-corruption Language (AC Template) as appendix contained in your contract under the circumstance that Standard Due Diligence (SDD) is required.
                  <br>每个审批申请，请对应1个独立的合同，如果同一供应商存在多个合同，必须分别进行申请。
                  <br>One request must have only one contract, if you have multiple contracts for one vendor, please raise the request separately.

              </td>
            </tr>
          </tbody>
        </table>
      </div>
    </div>
    <div id="block-vendor-information" class="panel dn">
      <div class="panel-heading">
        <div class="panel-title">合同方信息 Vendor Information</div>
      </div>
      <div class="panel-body">
        <table class="table mb0">
          <tbody>
            <tr>
              <th class="tar " width="200">
                <span class="required-tip">*</span>合同方名称
                <h5>Vendor Name</h5>
              </th>
              <td id="field-detail-vendorName"  colspan="3"></td>
            </tr>
            <tr>
              <th class="tar ">
                确认为新Vendor
                <h5>is new vendor</h5>
              </th>
              <td id="field-detail-isVendor"  width="60"></td>
              <th class="tar " width="80">
                ACDD
                <h5>ACDD</h5>
              </th>
              <td id="field-detail-acdd" ></td>
            </tr>
            <tr>
              <th class="tar ">
                提示信息
                <h5>Remainer</h5>
              </th>
              <td colspan="4">
                注：如果为新供应商请与采购部确认后，勾选确认为新Vendor, 并在线下提交相关申请材料给采购部。如果供应商需要做ACDD, 请联系E&C部门的Heather Shi Hong Xia, 获取ACDD联络员的信息，以便开展尽职调查流程。
                <br>
                Note: If this is a new vendor, please confirm with Purchasing Department, then tick the checkbox above and send application documents to the procurement specialist via email.If ACDD is applicable, please contact E&C Head---Heather Shi Hong Xia to get ACDD contactor information to conduct ACDD evaluation.
              </td>
            </tr>
          </tbody>
        </table>
      </div>
    </div>
    <div id="block-description-information" class="panel dn">
      <div class="panel-heading">
        <div class="panel-title">简要描述 Brief Description</div>
      </div>
      <div class="panel-body">
        <table class="table mb0">
          <tbody>
            <tr>
              <th class="tar " width="200">
                简要描述
                <h5>Brief Description</h5>
              </th>
              <td id="field-detail-briefDescription" ></td>
            </tr>
          </tbody>
        </table>
      </div>
    </div>
    <div id="block-attachment-information" class="panel dn">
      <div class="panel-heading">
        <div class="panel-title">申请人上传的附件 Attachments uploaded by requestor</div>
      </div>
      <div class="panel-body">
        <table class="table mb0">
          <tbody>
            <tr>
              <th class="tar " width="200">
                提示信息
                <h5>Remainer</h5>
              </th>
              <td >
                所有附件大小不要超过4M
                <h5>Size of all attachment should be less than 4M</h5>
              </td>
            </tr>
            <tr>
              <th class="tar ">
                <span class="required-tip">*</span> 请上传项目合同并点击上传按钮
                <h5>Please Upload contract related to the proposed activities</h5>
              </th>
              <td id="field-detail-projectContractAttachmentList" > </td>
            </tr>
            <tr class="dn">
              <th class="tar ">
                <span class="required-tip">*</span> 请上传竞价分析报告或者放弃竞价单
                <h5>Please upload Bidding Analysis Report or Bidding Waive Request Form</h5>
              </th>
              <td id="field-detail-vendorRequestFormAttachmentList" > </td>
            </tr>
            <tr>
              <th class="tar ">
                提示信息
                <h5>Remainer</h5>
              </th>
              <td >
                请线下邮件提供供应商的关键信息给采购专员，包括营业执照，银行开户证明以及其他相关信息。
                <h5>Please provide vendor information including business license, bank account permission, and other related information for procurement clerk.</h5>
              </td>
            </tr>
          </tbody>
        </table>
      </div>
    </div>
    <div id="block-approver-information" class="panel dn">
      <div class="panel-heading">
        <div class="panel-title">审批 Approve Line</div>
      </div>
      <div class="panel-body">
        <table class="table mb0">
          <tbody>
            <tr class="dn">
              <th class="tar " width="200">
                <span class="required-tip">*</span> 采购审阅人
                <h5>Procurement Approver</h5>
              </th>
              <td id="field-detail-buyApprover" class="input-mw"></td>
            </tr>
            <tr class="dn">
              <th class="tar " width="200">
                <span class="required-tip">*</span> 法务审阅人
                <h5>Legal Approver</h5>
              </th>
              <td id="field-detail-legalApprover" class="input-mw"></td>
            </tr>
            <tr class="dn">
              <th class="tar ">
                <span class="required-tip">*</span> E&amp;C审阅人
                <h5>E&amp;C</h5>
              </th>
              <td id="field-detail-ecApprover" class="input-mw"></td>
            </tr>
            <tr class="dn">
              <th class="tar ">
                <span class="required-tip">*</span> ATS审阅人
                <h5>ATS</h5>
              </th>
              <td id="field-detail-atsApprover" class="input-mw"></td>
            </tr>
            <tr>
              <th class="tar ">
                <span class="required-tip">*</span> 公司印章持有人
                <h5>Company Stamp Holder</h5>
              </th>
              <td id="field-detail-stampApprover" class="input-mw" locked></td>
            </tr>
            <tr>
              <th class="tar ">
                提示信息
                <h5>Remainer</h5>
              </th>
              <td>
                合同全部审批完并且通过后，系统会通知用户和HR专员。盖完公章，HR需要在系统中点击确认。
                <br>E-contract system will inform requester and HR when contract workflow is completed.  HR is required to click button in the system after contract is stamped.
              </td>
            </tr>
          </tbody>
        </table>
      </div>
    </div>
    <div id="block-approval-information" class="panel dn">
      <div class="panel-heading approval-information-header">
        <div class="panel-title">审批信息 Approve Information</div>
      </div>
      <div class="panel-body">
        <div id="approval-information">
        </div>
        {% raw %}
        <script id="template-approval-item" type="text/template7">
          <div class="approval-information">
              <div class="approval-type">
                {{format approvalName}}
                <h5>{{format approvalEnglishName}}</h5>
              </div>
              <div class="approval-info">
                  <div class="approval-info-status">
                    <p>{{format approver.chineseName}}</p>
                    <div class="approval-info-icon">
                      <img src="/asstes/images/{{format approvalStatus '$.getApprovalStatusEN'}}.png">
                      <span class="{{format approvalStatus '$.getApprovalStatusClass'}}">{{format approvalStatus '$.getApprovalStatus'}}</span>
                    </div>
                    <div class="approval-info-comment">{{format comment}}</div>
                  </div>
                  <div class="approval-info-sign">
                    Signed by: {{format approver.chineseName}}
                  </div class="approval-info-date">
                  <div>Date: {{format approvalDate '$.toDate'}}</div>
              </div>
          </div>
        </script>
        {% endraw %}
      </div>
    </div>
    <div id="block-curapproval-information" class="panel dn">
      <div class="panel-heading curapproval-information-header">
        <div class="panel-title">审批信息 Approve Information</div>
      </div>
      <div class="panel-body">
        <div id="curapproval-information">
        </div>
        {% raw %}
        <script id="template-curapproval-item" type="text/template7">
          <div class="curapproval-information">
              <div class="approval-type">
                  {{format approvalName}}意见
                  <h5>{{format approvalEnglishName}}</h5>
              </div>
              <div class="curapproval-common">
                <div id="curapproval-common"></div>
                <p>注: 拒绝时，此项内容为必填项。</p>
                <p>Note: This field is required if you choose "Limited Approval", "Reject".</p>
              </div>
          </div>
        </script>
        {% endraw %}
      </div>
    </div>
    <div id="block-operation-information" class="panel detali-operation dn">
      <div class="panel-body tac">
        <button class="btn btn-default form-exit-btn dn" type="button" exit>退出<h6 class="nmg">Exit</h6></button>
        <button class="btn btn-default form-save-btn dn" type="button" save>保存<h6 class="nmg">Save</h6></button>
        <button class="btn btn-default form-save-btn dn" type="button" rejectsave>保存<h6 class="nmg">Save</h6></button>
        <button class="btn form-submit-btn dn" type="button" submit>提交<h6 class="nmg">Submit</h6></button>
        <button class="btn  form-submit-btn dn" type="button" approve>同意<h6 class="nmg">Approve</h6></button>
        <button class="btn btn-default form-reject-btn dn" type="button" reject>拒绝<h6 class="nmg">Reject</h6></button>
      </div>
    </div>
  </form>
</div>
{% endblock %} {% block scripts %}
<script src="/asstes/scripts/e-lanco/e-contract-detail.js?{{timestamp}}"></script>
{% endblock %}